﻿@model NK.Mvc3.Models.StoreOutput
@{
    ViewBag.Title = "Output Import Confirm";
}

<h2>Output Import Confirm</h2>


@if (Model != null && Model.StoreOutputDetails != null && Model.StoreOutputDetails.Count > 0)
{
    <table>
    <tr>
        <th>
            Barcode
        </th>
        <th>
            POS Description
        </th>
        <th>
            Quantity
        </th>
        <th>
            CostOutput
        </th>
        <th>
            TotalCost
        </th>
        <th></th>
    </tr>
    @foreach (var item in Model.StoreOutputDetails)
     {
        <tr>
        <td>
            @Html.DisplayFor(modelItem => item.ProductInfo.BarCode)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.ProductInfo.POSDescription)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Quantity)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.CostOutput)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.TotalCost)
        </td>
        <td>
            @*@Html.ActionLink("Edit", "Edit", "StoreOutputDetail", new { id = item.ID }) |
            @Html.ActionLink("Details", "Details", "StoreOutputDetail", new { id = item.ID }) |
            @Html.ActionLink("Delete", "Delete", "StoreOutputDetail", new { id = item.ID })*@
        </td>
    </tr>
    }

    </table>
    
}
@using (Html.BeginForm("ImportConfirm"))
{
    <input type="submit" value="Confirm" name="Confirm"/>
    <input type="submit" value="Remove" name="Remove"/>
}